package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.MallProfitTemplateTypeEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 商城分润模版
 * </p>
 *
 * @author ligen
 * @since 2024-01-09
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_mall_profit_template")
@ApiModel(value = "ScMallProfitTemplate对象", description = "商城分润模版")
public class MallProfitTemplate extends SuperEntity<MallProfitTemplate> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模版名称")
    private String templateName;

    @ApiModelProperty(value = "模版类型")
    private MallProfitTemplateTypeEnum templateType;

    @ApiModelProperty(value = "直推收益比例")
    private BigDecimal directIncome;

    @ApiModelProperty(value = "关联藏品")
    private String collectionId;

    @ApiModelProperty(value = "供应商推荐人收益比例")
    private BigDecimal supplierReferrerIncome;

    @ApiModelProperty(value = "地图省级收益比例")
    private BigDecimal mapIncome;
//
//    @ApiModelProperty(value = "地图市级收益比例")
//    private BigDecimal mapCityIncome;
//
//    @ApiModelProperty(value = "地图区级收益比例")
//    private BigDecimal mapRegionIncome;

    @ApiModelProperty(value = "城市服务中心收益比例")
    private BigDecimal urbanServiceCenterIncome;

    @ApiModelProperty(value = "社区工作室收益比例")
    private BigDecimal communityStudioIncome;

    @ApiModelProperty(value = "NONO商城收益比例")
    private BigDecimal mallIncome;

    @ApiModelProperty(value = "玛特收益比例")
    private BigDecimal metaIncome;

    @ApiModelProperty(value = "玛特收益daoId")
    private Long metaIncomeDaoId;

    @ApiModelProperty(value = "瓜分分润比例")
    private BigDecimal carveUpRatio;

    @ApiModelProperty(value = "排行榜分润比例")
    private BigDecimal rankingListRatio;

    @ApiModelProperty(value = "生态商品收益比例")
    private BigDecimal ecologicalCommodityIncome;

    @ApiModelProperty(value = "生态商品收益daoId")
    private Long ecologicalCommodityIncomeDaoId;

    @ApiModelProperty(value = "购买人网体所属DAO分润比例")
    private BigDecimal purchaserDaoRatio;

    @ApiModelProperty(value = "平台收益比例")
    private BigDecimal ecologicalCommodityIncomeDaoRatio;

    @ApiModelProperty(value = "模版状态")
    private Boolean status;

}
